﻿using System;
using System.Collections;
using System.Text;
using System.Configuration;
using System.Xml;

namespace SNARF.Framework.ActiveRecord
{

    public class SNARFConfigurationHandler : ConfigurationSection
    {
        public SNARFConfigurationHandler()
        {
        }

        [ConfigurationProperty("assembly", DefaultValue = "SNARF.Framework.ActiveRecord", IsRequired = true)]
        public String AssemblyName
        {
            get
            { return (String)this["assembly"]; }
            set
            { this["assembly"] = value; }
        }

        [ConfigurationProperty("type", DefaultValue = "SNARF.Framework.ActiveRecord.WebSessionProvider", IsRequired = true)]
        public String TypeName
        {
            get
            { return (String)this["type"]; }
            set
            { this["type"] = value; }
        }
    }


}